if FoundErr<>True then

来源:百度知道 编辑:UC知道 时间:2024/05/31 22:27:40
<%@language=vbscript codepage=936 %>
<!--#include file="Conn.asp"-->
<!--#include file="../Inc/Config.asp"-->
<!--#include file="inc/md5.asp"-->

<%
dim sql,rs
dim username,password,CheckCode
username=replace(trim(request("username")),"'","")
password=replace(trim(Request("password")),"'","")
CheckCode=replace(trim(Request("CheckCode")),"'","")
if UserName="" then
FoundErr=True
ErrMsg=ErrMsg & "<br><li>用户名不能为空!</li>"
end if
if Password="" then
FoundErr=True
ErrMsg=ErrMsg & "<br><li>密码不能为空!</li>"
end if
if CheckCode="" then
FoundErr=True
ErrMsg=ErrMsg & "<br><li>验证码不能为空!</li>"
end if
if session("

if rs("password")<>MD5(password) then
FoundErr=True
ErrMsg=ErrMsg & "<br><li>用户名或密码错误(密码错误"&password&"≠"&rs ("password")&")!!!请重新输入密码</li>"
else

什么东东啊?